package com.heima.api.admin;

import com.heima.model.admin.dtos.NewsAuthDto;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "文章审核控制层",value = "文章审核控制层")
public interface NewsAuthControllerApi {
    @ApiOperation("查询待人工审核自媒体文章列表")
    PageResponseResult findNews(NewsAuthDto dto);
    @ApiOperation("根据ID查询文章详情")
    ResponseResult findOne(Integer id);
    @ApiOperation("文章审核成功")
    ResponseResult authPass(NewsAuthDto dto);
    @ApiOperation("文章审核失败")
    ResponseResult authFail(NewsAuthDto dto);
}
